using System;
using System.Data;
using System.Xml;

namespace OR.Lazarus.Library.CPP.Notation
{
   public class NotationMapDetail : OR.Lazarus.Library.CPP.Notation.Lazarus.NotationMapDetail
   {
		public string ResolveContextNotation( string pBaseType, string pContext )
		{
			string vResult = null;
			TypeDetail vTypeDetail = mTypes[ pBaseType ];
			NameDetail vNameDetail = null;

			if ( vTypeDetail == null )
			{
				vNameDetail = mDefaultNames[ pContext ];
			}
			else
			{
				vNameDetail = vTypeDetail.Names[ pContext ];
			}

			if ( vNameDetail != null )
			{
				vResult = vNameDetail.Value;
			}

			return ( vResult );
		}
   }
}
   